package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 汇总库存调拨单对象 t_oms_sumstocktransferbill
 *
 * @author wenyixiong
 * @date 2023-02-18
 */
public class OmsSumstocktransferbill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 单据编号 */
    @Excel(name = "单据编号",needMerge = true)
    private String billnumber;

    /** 业务日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务日期", width = 30, dateFormat = "yyyy-MM-dd",needMerge = true)
    private Date bizdate;

    /** 业务类型编码 */
    @Excel(name = "业务类型编码",needMerge = true)
    private String biztypenumber;

    /** 业务类型名称 */
    @Excel(name = "业务类型名称",needMerge = true)
    private String biztypename;

    /** 调出库存组织编码 */
    @Excel(name = "调出库存组织编码",needMerge = true)
    private String issuestorageorgnumber;

    /** 调出库存组织名称 */
    @Excel(name = "调出库存组织名称",needMerge = true)
    private String issuestorageorgname;

    /** 调入库存组织编码 */
    @Excel(name = "调入库存组织编码",needMerge = true)
    private String receiptstorageorgnumber;

    /** 调入库存组织名称 */
    @Excel(name = "调入库存组织名称",needMerge = true)
    private String receiptstorageorgname;

    /** 调出成本中心编码 */
    @Excel(name = "调出成本中心编码",needMerge = true)
    private String outcostcenternumber;

    /** 调出成本中心名称 */
    @Excel(name = "调出成本中心名称",needMerge = true)
    private String outcostcentername;

    /** 调出记账公司编码 */
    @Excel(name = "调出记账公司编码",needMerge = true)
    private String outaccountcompanynumber;

    /** 调出记账公司名称 */
    @Excel(name = "调出记账公司名称",needMerge = true)
    private String outaccountcompanyname;

    /** 调入成本中心编码 */
    @Excel(name = "调入成本中心编码",needMerge = true)
    private String incostcenternumber;

    /** 调入成本中心名称 */
    @Excel(name = "调入成本中心名称",needMerge = true)
    private String incostcentername;

    /** 调入记账公司编码 */
    @Excel(name = "调入记账公司编码",needMerge = true)
    private String inaccountcompanynumber;

    /** 调入记账公司名称 */
    @Excel(name = "调入记账公司名称",needMerge = true)
    private String inaccountcompanyname;

    /** 币别 */
    @Excel(name = "币别",needMerge = true)
    private String currency;

    /** 汇率 */
    @Excel(name = "汇率",needMerge = true)
    private BigDecimal exchangerate;

    /** 参考信息 */
    @Excel(name = "参考信息",needMerge = true)
    private String description;

    /** 已传EAS */
    @Excel(name = "已传EAS",needMerge = true)
    private String istrans;

    /** 传送日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "传送日期", width = 30, dateFormat = "yyyy-MM-dd",needMerge = true)
    private Date transtime;

    /** 失败原因 */
    @Excel(name = "失败原因",needMerge = true)
    private String reason;

    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd",needMerge = true)
    private Date createtime;

    /** 来源系统 */
    @Excel(name = "来源系统",needMerge = true)
    private String srcsys;

    /** 汇总库存调拨单分录信息 */
    @Excel(name = "汇总库存调拨单分录")
    private List<OmsSumstocktransferbillentry> omsSumstocktransferbillentryList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBillnumber(String billnumber)
    {
        this.billnumber = billnumber;
    }

    public String getBillnumber()
    {
        return billnumber;
    }
    public void setBizdate(Date bizdate)
    {
        this.bizdate = bizdate;
    }

    public Date getBizdate()
    {
        return bizdate;
    }
    public void setBiztypenumber(String biztypenumber)
    {
        this.biztypenumber = biztypenumber;
    }

    public String getBiztypenumber()
    {
        return biztypenumber;
    }
    public void setBiztypename(String biztypename)
    {
        this.biztypename = biztypename;
    }

    public String getBiztypename()
    {
        return biztypename;
    }
    public void setIssuestorageorgnumber(String issuestorageorgnumber)
    {
        this.issuestorageorgnumber = issuestorageorgnumber;
    }

    public String getIssuestorageorgnumber()
    {
        return issuestorageorgnumber;
    }
    public void setIssuestorageorgname(String issuestorageorgname)
    {
        this.issuestorageorgname = issuestorageorgname;
    }

    public String getIssuestorageorgname()
    {
        return issuestorageorgname;
    }
    public void setReceiptstorageorgnumber(String receiptstorageorgnumber)
    {
        this.receiptstorageorgnumber = receiptstorageorgnumber;
    }

    public String getReceiptstorageorgnumber()
    {
        return receiptstorageorgnumber;
    }
    public void setReceiptstorageorgname(String receiptstorageorgname)
    {
        this.receiptstorageorgname = receiptstorageorgname;
    }

    public String getReceiptstorageorgname()
    {
        return receiptstorageorgname;
    }
    public void setOutcostcenternumber(String outcostcenternumber)
    {
        this.outcostcenternumber = outcostcenternumber;
    }

    public String getOutcostcenternumber()
    {
        return outcostcenternumber;
    }
    public void setOutcostcentername(String outcostcentername)
    {
        this.outcostcentername = outcostcentername;
    }

    public String getOutcostcentername()
    {
        return outcostcentername;
    }
    public void setOutaccountcompanynumber(String outaccountcompanynumber)
    {
        this.outaccountcompanynumber = outaccountcompanynumber;
    }

    public String getOutaccountcompanynumber()
    {
        return outaccountcompanynumber;
    }
    public void setOutaccountcompanyname(String outaccountcompanyname)
    {
        this.outaccountcompanyname = outaccountcompanyname;
    }

    public String getOutaccountcompanyname()
    {
        return outaccountcompanyname;
    }
    public void setIncostcenternumber(String incostcenternumber)
    {
        this.incostcenternumber = incostcenternumber;
    }

    public String getIncostcenternumber()
    {
        return incostcenternumber;
    }
    public void setIncostcentername(String incostcentername)
    {
        this.incostcentername = incostcentername;
    }

    public String getIncostcentername()
    {
        return incostcentername;
    }
    public void setInaccountcompanynumber(String inaccountcompanynumber)
    {
        this.inaccountcompanynumber = inaccountcompanynumber;
    }

    public String getInaccountcompanynumber()
    {
        return inaccountcompanynumber;
    }
    public void setInaccountcompanyname(String inaccountcompanyname)
    {
        this.inaccountcompanyname = inaccountcompanyname;
    }

    public String getInaccountcompanyname()
    {
        return inaccountcompanyname;
    }
    public void setCurrency(String currency)
    {
        this.currency = currency;
    }

    public String getCurrency()
    {
        return currency;
    }
    public void setExchangerate(BigDecimal exchangerate)
    {
        this.exchangerate = exchangerate;
    }

    public BigDecimal getExchangerate()
    {
        return exchangerate;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setIstrans(String istrans)
    {
        this.istrans = istrans;
    }

    public String getIstrans()
    {
        return istrans;
    }
    public void setTranstime(Date transtime)
    {
        this.transtime = transtime;
    }

    public Date getTranstime()
    {
        return transtime;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getSrcsys() {
        return srcsys;
    }

    public void setSrcsys(String srcsys) {
        this.srcsys = srcsys;
    }

    public List<OmsSumstocktransferbillentry> getOmsSumstocktransferbillentryList()
    {
        return omsSumstocktransferbillentryList;
    }

    public void setOmsSumstocktransferbillentryList(List<OmsSumstocktransferbillentry> omsSumstocktransferbillentryList)
    {
        this.omsSumstocktransferbillentryList = omsSumstocktransferbillentryList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billnumber", getBillnumber())
            .append("bizdate", getBizdate())
            .append("biztypenumber", getBiztypenumber())
            .append("biztypename", getBiztypename())
            .append("issuestorageorgnumber", getIssuestorageorgnumber())
            .append("issuestorageorgname", getIssuestorageorgname())
            .append("receiptstorageorgnumber", getReceiptstorageorgnumber())
            .append("receiptstorageorgname", getReceiptstorageorgname())
            .append("outcostcenternumber", getOutcostcenternumber())
            .append("outcostcentername", getOutcostcentername())
            .append("outaccountcompanynumber", getOutaccountcompanynumber())
            .append("outaccountcompanyname", getOutaccountcompanyname())
            .append("incostcenternumber", getIncostcenternumber())
            .append("incostcentername", getIncostcentername())
            .append("inaccountcompanynumber", getInaccountcompanynumber())
            .append("inaccountcompanyname", getInaccountcompanyname())
            .append("currency", getCurrency())
            .append("exchangerate", getExchangerate())
            .append("description", getDescription())
            .append("istrans", getIstrans())
            .append("transtime", getTranstime())
            .append("reason", getReason())
            .append("createtime", getCreatetime())
            .append("srcsys", getSrcsys())
            .append("omsSumstocktransferbillentryList", getOmsSumstocktransferbillentryList())
            .toString();
    }
}
